package cn.yanlin.springcloud.dao;

import cn.yanlin.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhangyanlin
 * @version 1.0
 * @date 2021/10/7 21:00
 */
@Mapper
public interface PaymentDao {
    //写数据
    public int create(Payment payment);
    //读数据
    public Payment getPaymentById(@Param("id") Long id);
}
